using System.Web.Configuration;

namespace TestSystem.BLL
{
    /// <summary>
    /// Summary description for Settings
    /// </summary>
    public static class Settings
    {
        private static readonly UniversitySettings University =
            (UniversitySettings)WebConfigurationManager.GetSection("university");

        public static ForumsElement ForumsSettings
        {
            get { return University.Forums; }
        }

        public static ProfileElement ProfileSettings
        {
            get { return University.Profile; }
        }

        public static GalleryElement GallerySettings
        {
            get { return University.Gallery; }
        }

        public static StudentsElement StudentsSettings
        {
            get { return University.Students; }
        }

        public static LectorsElement LectorsSettings
        {
            get { return University.Lectors; }
        }

        public static FacultyElement FacultySettings
        {
            get { return University.Faculties; }
        }

        public static DepartmentElement DepartmentSettings
        {
            get { return University.Departments; }
        }

        public static NewsElement NewsSettings
        {
            get { return University.News; }
        }

        public static PublicationsElement PubsSettings
        {
            get { return University.Publications; }
        }

        public static CommentsElement CommentsSettings
        {
            get { return University.Comments; }
        }

        static Settings() { }
    }
}
